package com.bugstack.domain.strategy.service.armory;

import java.util.Date;

/**
 * @Author: czb
 * @Description: 策略抽奖调度
 * @DateTime: 2025/3/4 14:14
 **/
public interface IStrategyDispatch {

    /**
     * 获取抽奖策略装配的随机结果
     * @param strategyId 策略ID
     * @return 返回抽奖结果
     */
    Integer getRandomAwardId(Long strategyId);


    Integer getRandomAwardId(Long strategyId, String ruleWeightValue);

    boolean subtractionAwardStock(Long strategyId, Integer awardId, Date endDateTime);

}
